﻿<div class="discussion-item jq_snNote <# PinItemBackgroundClass #>">
    <div class="pin-image"></div>
    #if( $PinItemVisible ) <span class="pin-icon"><# TogglePinItem #></span> #end
    <h3><# Name #></h3>
    <div class="date-author">
        <# Date #> -
        #if( $AuthorVisible )
            <a href="<# AuthorUrl #>" title="<# AuthorToolTip #>"><# AuthorText #></a>
        #end
    </div>
    <p><# Description #></p>
    #if( $LastTopicAuthorVisible )
    <div class="last">
        <a href="<# LastTopicUrl #>" title="<# LastTopicToolTip #>">
            <span><# LastTopicText #></span>
            <# LastTopicName #>
        </a>
        <a href="<# LastTopicAuthorUrl #>" title="<# LastTopicAuthorToolTip #>">
            <span><# LastTopicAuthorText #></span>
            <# LastTopicAuthorName #>
            <# LastTopicDate #>
        </a>
    </div>
    #end
    #if( $LastPostVisible )
    <div class="last">
        <a class="last-topic" href="<# LastPostUrl #>" title="<# LastPostToolTip #>"><span><# LastPostText #></span>&nbsp;<# LastPostName #></a>&nbsp;
        <a href="<# LastPostAuthorUrl #>" title="<# LastPostAuthorToolTip #>"><span><# LastPostAuthorText #></span>&nbsp;<# LastPostAuthorName #>&nbsp;<# LastPostDate #></a>
    </div>
    #end
    <div class="info-box">
        <div class="counter">
            <a href="<# TopicUrl #>" title="<# TopicToolTip #>">
                <# TopicCount #>
                <span><# TopicText #></span>
            </a>
            <a href="<# ReplyUrl #>" title="<# ReplyToolTip #>">
                <# ReplyCount #>
                <span><# ReplyText #></span>
            </a>
        </div>
    </div>
    <div class="options">
        #if( $EditVisible )
        <a title="<# Edit-ToolTip #>" href='<# Edit-URL #>'>
            <# Edit-ToolTip #>
        </a>
        #end
        #if( $DeleteVisible )
        <a title="<# Delete-ToolTip #>" href='<# Delete-URL #>' <# Delete-Attributes #>>
            <# Delete-ToolTip #>
        </a>
        #end
        #if( $TogglePinItemVisible )
            <a title="<# TogglePinItem-ToolTip #>" href='<# TogglePinItem-URL #>'>
                <# TogglePinItem-ToolTip #>
            </a>
        #end
    </div>
</div>